package lab02.test15;


public class Text {

    public static void main(String[] args) {

        Graduate zhangsan=new Graduate();

        zhangsan.name="zhangsan";

        zhangsan.sex="男";

        zhangsan.age=20;

        zhangsan.fee=15000;

        zhangsan.pay=5000;

        double i=zhangsan.getPay()*12-zhangsan.getFee();

        if (i<2000)
            System.out.println("“You need a loan!");

        else
            System.out.println("You income is enough！");


    }
}
